----------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:/Users/jahei/Dropbox/Why Do People Stay Poor - replication files/replication files/Results/struct
> ural/misallocation.log
  log type:  text
 opened on:   1 Nov 2021, 18:29:09

. 
.         tab occup_bl

              occup_bl |      Freq.     Percent        Cum.
-----------------------+-----------------------------------
                Mixing |         17        0.73        0.73
Livestock Rearing Only |         16        0.69        1.41
        Wage Work Only |      1,327       56.88       58.29
               No Work |        973       41.71      100.00
-----------------------+-----------------------------------
                 Total |      2,333      100.00

.         tab occup_bl if occup_bl != 4

              occup_bl |      Freq.     Percent        Cum.
-----------------------+-----------------------------------
                Mixing |         17        1.25        1.25
Livestock Rearing Only |         16        1.18        2.43
        Wage Work Only |      1,327       97.57      100.00
-----------------------+-----------------------------------
                 Total |      1,360      100.00

. 
.         tab occup_opt

             occup_opt |      Freq.     Percent        Cum.
-----------------------+-----------------------------------
                Mixing |        182        7.80        7.80
Livestock Rearing Only |      2,099       89.97       97.77
        Wage Work Only |         52        2.23      100.00
-----------------------+-----------------------------------
                 Total |      2,333      100.00

. 
.         quietly: gen misd = misallocation > 0

.         tab misd

       misd |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |         67        2.87        2.87
          1 |      2,266       97.13      100.00
------------+-----------------------------------
      Total |      2,333      100.00

.         
.         su misallocation, d

                        misallocation
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%     2705.937              0
10%     10583.46              0       Obs               2,333
25%     35387.44              0       Sum of wgt.       2,333

50%     64909.01                      Mean           126926.7
                        Largest       Std. dev.      195373.8
75%     114536.4       859268.4
90%     255049.1       859268.4       Variance       3.82e+10
95%     859268.4       859268.4       Skewness       2.941289
99%     859268.4       859268.4       Kurtosis       10.91895

.         disp r(sum)/18.46 // Using exchange rate 18.46 BDT = 1 USD
16041172

. 
.         su min_transfer, d

                        min_transfer
-------------------------------------------------------------
      Percentiles      Smallest
 1%            0              0
 5%            0              0
10%         6380              0       Obs               2,333
25%         9640              0       Sum of wgt.       2,333

50%        10280                      Mean           9149.676
                        Largest       Std. dev.      2752.631
75%        10380          10380
90%        10380          10380       Variance        7576976
95%        10380          10380       Skewness      -2.680544
99%        10380          10380       Kurtosis        8.85867

.         disp r(sum)/18.46
1156348.6

. 
.         log close
      name:  <unnamed>
       log:  C:/Users/jahei/Dropbox/Why Do People Stay Poor - replication files/replication files/Results/struct
> ural/misallocation.log
  log type:  text
 closed on:   1 Nov 2021, 18:29:09
----------------------------------------------------------------------------------------------------------------
